package com.pig4cloud.pig.module.service.wx;

import com.pig4cloud.pig.common.mybatis.core.BaseService;
import com.pig4cloud.pig.module.api.entity.splitAccount.SplitAccount;
import com.pig4cloud.pig.module.api.entity.wx.WxUser;
import com.pig4cloud.pig.module.api.entity.wx.WxUserCashRecord;

import java.util.Map;

public interface IWxUserCashRecordService extends BaseService<WxUserCashRecord> {

    /**
     *  提现
     * @param user
     * @param payMoney
     * @rern
     */
    Map<String,Object> addRecord(WxUser user, double payMoney, SplitAccount splitAccount);


	/**
	 *  提现
	 * @param wxUserCashRecord
	 * @rern
	 */
	Map<String,Object> checkRecord(WxUserCashRecord wxUserCashRecord);

	/**
	 *  获取商家的 核销结算 订单的 打款记录
	 * @param merId
	 * @param orderId
	 * @return
	 */
	WxUserCashRecord getRecordByOrderId(int merId, long orderId,long orderInfoId);

}
